{include file="public/header" /}


<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>{$Think.lang.ds_upload_set}</h3>
                <h5></h5>
            </div>
            {include file="public/admin_items" /}
        </div>
    </div>
    <form method="post" enctype="multipart/form-data" name="form1">
        <div class="ncap-form-default">
            <dl>
                <dt>文件存储方式：</dt>
                <dd>
                   <!--  <label class="radio-label">
                       <i  class="radio-common {if $list_config.upload_type =='local'}selected{/if}">
                           <input type="radio" value="local" name="upload_type" id="upload_type_local" {if $list_config.upload_type =='local'}checked="checked"{/if}>
                       </i>
                       <span>{$Think.lang.upload_type_local}</span>
                   </label> -->
                    <label class="radio-label">
                        <span>七牛云存储</span>
                    </label>
                </dd>
            </dl>
            <div class="alioss">
                        <dl>
                            <dt>accessKey：</dt>
                            <dd>
                                <input id="qiniu_accesskey" name="qiniu_accesskey" value="{$list_config.qiniu_accesskey|default=''}" class="input-txt" type="text">
                                AK
                            </dd>
                        </dl>
                        <dl>
                            <dt>secretKey：</dt>
                            <dd>
                                <input id="qiniu_secretKey" name="qiniu_secretKey" value="{$list_config.qiniu_secretKey|default=''}" class="input-txt" type="text">
                                SK
                            </dd>

                        </dl>
                        <dl>
                            <dt>bucket：</dt>
                            <dd>
                                <input id="qiniu_bucket" name="qiniu_bucket" value="{$list_config.qiniu_bucket|default=''}" class="input-txt" type="text">存储空间名称
                            </dd>
                        </dl>
                        <dl>
                            <dt>访问域名：</dt>
                            <dd>
                                <input id="qiniu_http" name="qiniu_http" value="{$list_config.qiniu_http|default=''}" class="input-txt" type="text">访问的域名
                            </dd>
                        </dl>
                    </div>
                    <dl>
                        <dt></dt>
                        <dd><input class="btn" type="submit" value="{$Think.lang.ds_submit}"/></dd>
                    </dl>
                </div>
            </form>
        </div>
        <script>
            $(function () {
                 $('.alioss').show();
               /* if ($('#upload_type_local').prop('checked')) {
                    $('.alioss').hide();
                }
                $('#upload_type_local').click(function () {
                    $('.alioss').hide();
                });
                $('#upload_type_alioss').click(function () {
                    $('.alioss').show();
                })*/
            });
        </script>